package com.vidmt.api.common.exceptions;

import java.util.Arrays;

public class BadParamException extends CodeException {
	private static final long serialVersionUID = 1L;

	public BadParamException() {
		super(CodeException.ERR_INVALID_PARAM, "参数错误");
	}
	public BadParamException(IllegalArgumentException e) {
		super(CodeException.ERR_INVALID_PARAM,e);
	}
	public BadParamException(String... params) {
		super(CodeException.ERR_INVALID_PARAM, "参数错误:" + Arrays.toString(params));
	}

}
